package com.demo.pojo;

/**
 * Created by win10 on 2020/2/5 10:36
 */
public class User {

    private String username;
    private String age;
    private String password;
    private Dog dog;


    public User(String username, String age, String password, Dog dog) {
        this.username = username;
        this.age = age;
        this.password = password;
        this.dog = dog;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", age='" + age + '\'' +
                ", password='" + password + '\'' +
                ", dog=" + dog +
                '}';
    }

    public Dog getDog() {
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public User() {
    }


}
